package cn.stylefeng.guns.modular.school.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 学生信息
 * </p>
 *
 * @author 
 * @since 2019-11-15
 */
@TableName("xx_student_info")
public class StudentInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 学校主键（学校信息表主键）
     */
    @TableField("SCHOOL_ID")
    private Integer schoolId;

    /**
     * 班级主键（班级信息表主键）
     */
    @TableField("CLASS_ID")
    private Integer classId;

    /**
     * 班级主键（班级信息表主键）
     */
    @TableField("TEACHER_ID")
    private Integer teacherId;

    /**
     * 学生编码
     */
    @TableField("CODE")
    private String code;

    /**
     * 学生姓名
     */
    @TableField("NAME")
    private String name;

    /**
     * 性别
     */
    @TableField("SEX")
    private String sex;
    @TableField("credit")
    private Integer credit;

    /**
     * 身份证号
     */
    @TableField("ID_numeric")
    private String idNumeric;

    /**
     * 监护人姓名
     */
    @TableField("GUARDIAN_NAME")
    private String guardianName;

    /**
     * 监护人联系电话
     */
    @TableField("GUARDIAN_TEL")
    private String guardianTel;
    @TableField("Guardianship")
    private String guardianship;

    /**
     * 备注
     */
    @TableField("MEMO")
    private String memo;

    /**
     * 学生标识：0表示正常生，1表示借读生
     */
    @TableField("STUDENT_FLAG")
    private String studentFlag;
    @TableField("status")
    private String status;

    /**
     * 原籍学校主键（学校信息表主键）
     */
    @TableField("ORIGIN_SCHOOL_ID")
    private Integer originSchoolId;

    public Integer getCredit() {
        return credit;
    }

    public void setCredit(Integer credit) {
        this.credit = credit;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Integer schoolId) {
        this.schoolId = schoolId;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getIdNumeric() {
        return idNumeric;
    }

    public void setIdNumeric(String idNumeric) {
        this.idNumeric = idNumeric;
    }

    public String getGuardianName() {
        return guardianName;
    }

    public void setGuardianName(String guardianName) {
        this.guardianName = guardianName;
    }

    public String getGuardianTel() {
        return guardianTel;
    }

    public void setGuardianTel(String guardianTel) {
        this.guardianTel = guardianTel;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getStudentFlag() {
        return studentFlag;
    }

    public void setStudentFlag(String studentFlag) {
        this.studentFlag = studentFlag;
    }

    public String getGuardianship() {
        return guardianship;
    }

    public void setGuardianship(String guardianship) {
        this.guardianship = guardianship;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getOriginSchoolId() {
        return originSchoolId;
    }

    public void setOriginSchoolId(Integer originSchoolId) {
        this.originSchoolId = originSchoolId;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    @Override
    public String toString() {
        return "StudentInfo{" +
        "id=" + id +
        ", schoolId=" + schoolId +
        ", classId=" + classId +
                ", teacherId=" + teacherId +
        ", code=" + code +
        ", name=" + name +
        ", sex=" + sex +
        ", idNumeric=" + idNumeric +
        ", guardianName=" + guardianName +
        ", guardianTel=" + guardianTel +
        ", guardianship=" + guardianship +
        ", memo=" + memo +
        ", studentFlag=" + studentFlag +
        ", status=" + status +
        ", originSchoolId=" + originSchoolId +
        "}";
    }
}
